import 'package:mall/core/models/store_index.dart';
import 'package:json_annotation/json_annotation.dart';

part 'news_query.g.dart';

@JsonSerializable()
class NewsQuery {
  final List<Link> newsList;

  NewsQuery(this.newsList);

  factory NewsQuery.fromJson(Map<String, dynamic> json) => _$NewsQueryFromJson(json);

  Map<String, dynamic> toJson() => _$NewsQueryToJson(this);
}
